package com.flame.workflow.re.mapper;

import java.util.List;

import com.flame.workflow.re.controller.vo.DeploymentVo;
import com.flame.workflow.re.entity.Deployment;
import com.flame.workflow.re.entity.Model;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * flame_workflow_re_deployment 流程部署信息表
 *
 * @author 吴欣童
 * @since 2023-05-07 11:23:03
 */
@Mapper
public interface DeploymentMapper {

    List<Model> list(DeploymentVo deploymentVo);

    void insert(Deployment deployment);

    void updateById(Deployment deployment);

    void deleteById(@Param("modelId") Long modelId);

    Deployment findById(@Param("modelId") Long modelId);
}